namespace QMVnSoft.SystemForms
{
    using QMVnSoft;
    using QMVnSoft.Controls;
    using QMVnSoft.DAL;
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;

    public class FormDmCtEditor1 : FormListEditor
    {
        private IContainer components;
        private GBoxControl gBoxBP_Ctrl;
        private GBoxControl gBoxHD_Ctrl;
        private GBoxControl gBoxIn_Ct;
        private GBoxControl gBoxKM_Ctrl;
        private GBoxControl gBoxNo_Co;
        private GBoxControl gBoxNumbering;
        private GBoxControl gBoxSo_Ct_Type;
        private GBoxControl gBoxSP_Ctrl;
        private GBoxControl gBoxTen_Ct;
        private GBoxControl gBoxTT_Ctrl;
        private GBoxControl gBoxTte_Ctrl;
        private LabelControl lblFreeFields;
        private LabelControl lblNo_Co;
        private LabelControl lblRepoFile;
        private LabelControl lblSeries;
        private LabelControl lblTen_Ct;
        private LabelControl lblTen_Ct_E;
        private LabelControl lblTitle;
        private LabelControl lblTitle_E;
        private LabelControl lblTk;
        private RdioControl rdioControl1;
        private RdioControl rdioControl10;
        private RdioControl rdioControl11;
        private RdioControl rdioControl12;
        private RdioControl rdioControl13;
        private RdioControl rdioControl14;
        private RdioControl rdioControl15;
        private RdioControl rdioControl16;
        private RdioControl rdioControl17;
        private RdioControl rdioControl18;
        private RdioControl rdioControl19;
        private RdioControl rdioControl2;
        private RdioControl rdioControl20;
        private RdioControl rdioControl21;
        private RdioControl rdioControl22;
        private RdioControl rdioControl23;
        private RdioControl rdioControl3;
        private RdioControl rdioControl4;
        private RdioControl rdioControl5;
        private RdioControl rdioControl6;
        private RdioControl rdioControl7;
        private RdioControl rdioControl8;
        private RdioControl rdioControl9;
        private TextNumeric txtFreeFields;
        private TextControl txtRepoFile;
        private TextControl txtSeries;
        private TextControl txtTen_Ct;
        private TextControl txtTen_Ct_E;
        private TextControl txtTen_Tk;
        private TextControl txtTitle;
        private TextControl txtTitle_E;
        private TextSearch txtTk;

        public FormDmCtEditor1()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormDmCtEditor1));
            this.gBoxTen_Ct = new QMVnSoft.Controls.GBoxControl();
            this.txtTen_Ct_E = new QMVnSoft.Controls.TextControl();
            this.lblTen_Ct_E = new QMVnSoft.Controls.LabelControl();
            this.txtTen_Ct = new QMVnSoft.Controls.TextControl();
            this.lblTen_Ct = new QMVnSoft.Controls.LabelControl();
            this.gBoxSo_Ct_Type = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl4 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl5 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl3 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl2 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl1 = new QMVnSoft.Controls.RdioControl();
            this.gBoxNumbering = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl6 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl10 = new QMVnSoft.Controls.RdioControl();
            this.gBoxSP_Ctrl = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl17 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl18 = new QMVnSoft.Controls.RdioControl();
            this.gBoxHD_Ctrl = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl9 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl11 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl12 = new QMVnSoft.Controls.RdioControl();
            this.gBoxBP_Ctrl = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl7 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl8 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl13 = new QMVnSoft.Controls.RdioControl();
            this.gBoxKM_Ctrl = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl15 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl16 = new QMVnSoft.Controls.RdioControl();
            this.gBoxTT_Ctrl = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl19 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl20 = new QMVnSoft.Controls.RdioControl();
            this.gBoxTte_Ctrl = new QMVnSoft.Controls.GBoxControl();
            this.rdioControl21 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl22 = new QMVnSoft.Controls.RdioControl();
            this.gBoxIn_Ct = new QMVnSoft.Controls.GBoxControl();
            this.txtFreeFields = new QMVnSoft.Controls.TextNumeric();
            this.txtSeries = new QMVnSoft.Controls.TextControl();
            this.txtRepoFile = new QMVnSoft.Controls.TextControl();
            this.lblSeries = new QMVnSoft.Controls.LabelControl();
            this.lblFreeFields = new QMVnSoft.Controls.LabelControl();
            this.lblRepoFile = new QMVnSoft.Controls.LabelControl();
            this.txtTitle_E = new QMVnSoft.Controls.TextControl();
            this.lblTitle_E = new QMVnSoft.Controls.LabelControl();
            this.txtTitle = new QMVnSoft.Controls.TextControl();
            this.lblTitle = new QMVnSoft.Controls.LabelControl();
            this.gBoxNo_Co = new QMVnSoft.Controls.GBoxControl();
            this.txtTen_Tk = new QMVnSoft.Controls.TextControl();
            this.txtTk = new QMVnSoft.Controls.TextSearch();
            this.lblNo_Co = new QMVnSoft.Controls.LabelControl();
            this.lblTk = new QMVnSoft.Controls.LabelControl();
            this.rdioControl14 = new QMVnSoft.Controls.RdioControl();
            this.rdioControl23 = new QMVnSoft.Controls.RdioControl();
            this.gBoxTen_Ct.SuspendLayout();
            this.gBoxSo_Ct_Type.SuspendLayout();
            this.gBoxNumbering.SuspendLayout();
            this.gBoxSP_Ctrl.SuspendLayout();
            this.gBoxHD_Ctrl.SuspendLayout();
            this.gBoxBP_Ctrl.SuspendLayout();
            this.gBoxKM_Ctrl.SuspendLayout();
            this.gBoxTT_Ctrl.SuspendLayout();
            this.gBoxTte_Ctrl.SuspendLayout();
            this.gBoxIn_Ct.SuspendLayout();
            this.gBoxNo_Co.SuspendLayout();
            this.SuspendLayout();
            // 
            // lblPhan_Loai
            // 
            this.lblPhan_Loai.Location = new System.Drawing.Point(12, 505);
            // 
            // txtMa_Loai1
            // 
            this.txtMa_Loai1.FirstFilter = "Type = \'TK1\'";
            this.txtMa_Loai1.Location = new System.Drawing.Point(123, 502);
            this.txtMa_Loai1.Size = new System.Drawing.Size(155, 20);
            this.txtMa_Loai1.TabIndex = 13;
            // 
            // txtMa_Loai2
            // 
            this.txtMa_Loai2.FirstFilter = "Type = \'TK2\'";
            this.txtMa_Loai2.Location = new System.Drawing.Point(280, 502);
            this.txtMa_Loai2.Size = new System.Drawing.Size(156, 20);
            this.txtMa_Loai2.TabIndex = 14;
            // 
            // txtMa_Loai3
            // 
            this.txtMa_Loai3.FirstFilter = "Type = \'TK3\'";
            this.txtMa_Loai3.Location = new System.Drawing.Point(438, 502);
            this.txtMa_Loai3.Size = new System.Drawing.Size(155, 20);
            this.txtMa_Loai3.TabIndex = 15;
            // 
            // gBoxTen_Ct
            // 
            this.gBoxTen_Ct.Controls.Add(this.txtTen_Ct_E);
            this.gBoxTen_Ct.Controls.Add(this.lblTen_Ct_E);
            this.gBoxTen_Ct.Controls.Add(this.txtTen_Ct);
            this.gBoxTen_Ct.Controls.Add(this.lblTen_Ct);
            this.gBoxTen_Ct.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxTen_Ct.Location = new System.Drawing.Point(12, 28);
            this.gBoxTen_Ct.Name = "gBoxTen_Ct";
            this.gBoxTen_Ct.Size = new System.Drawing.Size(586, 73);
            this.gBoxTen_Ct.TabIndex = 0;
            this.gBoxTen_Ct.TabStop = false;
            this.gBoxTen_Ct.Text = "Tên chứng từ";
            // 
            // txtTen_Ct_E
            // 
            this.txtTen_Ct_E.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.txtTen_Ct_E.CheckTextSearched = false;
            this.txtTen_Ct_E.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Ct_E.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Ct_E.Location = new System.Drawing.Point(102, 42);
            this.txtTen_Ct_E.MaxLength = 128;
            this.txtTen_Ct_E.Name = "txtTen_Ct_E";
            this.txtTen_Ct_E.OldValue = null;
            this.txtTen_Ct_E.Size = new System.Drawing.Size(478, 20);
            this.txtTen_Ct_E.TabIndex = 1;
            this.txtTen_Ct_E.UserTextLength = QMVnSoft.AppInstance.TextControlLength.ItemDescription;
            this.txtTen_Ct_E.UserTrimMode = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTen_Ct_E.Value = ((object)(resources.GetObject("txtTen_Ct_E.Value")));
            // 
            // lblTen_Ct_E
            // 
            this.lblTen_Ct_E.AutoSize = true;
            this.lblTen_Ct_E.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTen_Ct_E.Location = new System.Drawing.Point(6, 45);
            this.lblTen_Ct_E.Name = "lblTen_Ct_E";
            this.lblTen_Ct_E.Size = new System.Drawing.Size(55, 14);
            this.lblTen_Ct_E.TabIndex = 0;
            this.lblTen_Ct_E.Text = "Tiếng Anh";
            // 
            // txtTen_Ct
            // 
            this.txtTen_Ct.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.txtTen_Ct.CheckTextSearched = false;
            this.txtTen_Ct.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Ct.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Ct.Location = new System.Drawing.Point(102, 20);
            this.txtTen_Ct.MaxLength = 128;
            this.txtTen_Ct.Name = "txtTen_Ct";
            this.txtTen_Ct.OldValue = null;
            this.txtTen_Ct.Size = new System.Drawing.Size(478, 20);
            this.txtTen_Ct.TabIndex = 0;
            this.txtTen_Ct.UserTextLength = QMVnSoft.AppInstance.TextControlLength.ItemDescription;
            this.txtTen_Ct.UserTrimMode = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTen_Ct.Value = ((object)(resources.GetObject("txtTen_Ct.Value")));
            // 
            // lblTen_Ct
            // 
            this.lblTen_Ct.AutoSize = true;
            this.lblTen_Ct.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTen_Ct.Location = new System.Drawing.Point(6, 23);
            this.lblTen_Ct.Name = "lblTen_Ct";
            this.lblTen_Ct.Size = new System.Drawing.Size(55, 14);
            this.lblTen_Ct.TabIndex = 0;
            this.lblTen_Ct.Text = "Tiếng Việt";
            // 
            // gBoxSo_Ct_Type
            // 
            this.gBoxSo_Ct_Type.Controls.Add(this.rdioControl4);
            this.gBoxSo_Ct_Type.Controls.Add(this.rdioControl5);
            this.gBoxSo_Ct_Type.Controls.Add(this.rdioControl3);
            this.gBoxSo_Ct_Type.Controls.Add(this.rdioControl2);
            this.gBoxSo_Ct_Type.Controls.Add(this.rdioControl1);
            this.gBoxSo_Ct_Type.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxSo_Ct_Type.Location = new System.Drawing.Point(12, 208);
            this.gBoxSo_Ct_Type.Name = "gBoxSo_Ct_Type";
            this.gBoxSo_Ct_Type.OptionBox = true;
            this.gBoxSo_Ct_Type.Size = new System.Drawing.Size(388, 67);
            this.gBoxSo_Ct_Type.TabIndex = 2;
            this.gBoxSo_Ct_Type.TabStop = false;
            this.gBoxSo_Ct_Type.Text = "Đánh số chứng từ";
            // 
            // rdioControl4
            // 
            this.rdioControl4.AutoSize = true;
            this.rdioControl4.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl4.Location = new System.Drawing.Point(158, 43);
            this.rdioControl4.Name = "rdioControl4";
            this.rdioControl4.Size = new System.Drawing.Size(87, 18);
            this.rdioControl4.TabIndex = 3;
            this.rdioControl4.Text = "Theo số cuối";
            this.rdioControl4.UseVisualStyleBackColor = true;
            // 
            // rdioControl5
            // 
            this.rdioControl5.AutoSize = true;
            this.rdioControl5.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl5.Location = new System.Drawing.Point(285, 19);
            this.rdioControl5.Name = "rdioControl5";
            this.rdioControl5.Size = new System.Drawing.Size(82, 18);
            this.rdioControl5.TabIndex = 4;
            this.rdioControl5.Text = "Theo quyển";
            this.rdioControl5.UseVisualStyleBackColor = true;
            // 
            // rdioControl3
            // 
            this.rdioControl3.AutoSize = true;
            this.rdioControl3.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl3.Location = new System.Drawing.Point(158, 19);
            this.rdioControl3.Name = "rdioControl3";
            this.rdioControl3.Size = new System.Drawing.Size(79, 18);
            this.rdioControl3.TabIndex = 2;
            this.rdioControl3.Text = "Theo tháng";
            this.rdioControl3.UseVisualStyleBackColor = true;
            // 
            // rdioControl2
            // 
            this.rdioControl2.AutoSize = true;
            this.rdioControl2.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl2.Location = new System.Drawing.Point(26, 43);
            this.rdioControl2.Name = "rdioControl2";
            this.rdioControl2.Size = new System.Drawing.Size(72, 18);
            this.rdioControl2.TabIndex = 1;
            this.rdioControl2.Text = "Theo năm";
            this.rdioControl2.UseVisualStyleBackColor = true;
            // 
            // rdioControl1
            // 
            this.rdioControl1.AutoSize = true;
            this.rdioControl1.Checked = true;
            this.rdioControl1.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl1.Location = new System.Drawing.Point(26, 19);
            this.rdioControl1.Name = "rdioControl1";
            this.rdioControl1.Size = new System.Drawing.Size(63, 18);
            this.rdioControl1.TabIndex = 0;
            this.rdioControl1.TabStop = true;
            this.rdioControl1.Text = "Liên tục";
            this.rdioControl1.UseVisualStyleBackColor = true;
            // 
            // gBoxNumbering
            // 
            this.gBoxNumbering.Controls.Add(this.rdioControl6);
            this.gBoxNumbering.Controls.Add(this.rdioControl10);
            this.gBoxNumbering.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxNumbering.Location = new System.Drawing.Point(407, 208);
            this.gBoxNumbering.Name = "gBoxNumbering";
            this.gBoxNumbering.OptionBox = true;
            this.gBoxNumbering.Size = new System.Drawing.Size(191, 67);
            this.gBoxNumbering.TabIndex = 3;
            this.gBoxNumbering.TabStop = false;
            this.gBoxNumbering.Text = "Tăng phần số";
            // 
            // rdioControl6
            // 
            this.rdioControl6.AutoSize = true;
            this.rdioControl6.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl6.Location = new System.Drawing.Point(24, 43);
            this.rdioControl6.Name = "rdioControl6";
            this.rdioControl6.Size = new System.Drawing.Size(72, 18);
            this.rdioControl6.TabIndex = 1;
            this.rdioControl6.Text = "Phần cuối";
            this.rdioControl6.UseVisualStyleBackColor = true;
            // 
            // rdioControl10
            // 
            this.rdioControl10.AutoSize = true;
            this.rdioControl10.Checked = true;
            this.rdioControl10.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl10.Location = new System.Drawing.Point(26, 19);
            this.rdioControl10.Name = "rdioControl10";
            this.rdioControl10.Size = new System.Drawing.Size(70, 18);
            this.rdioControl10.TabIndex = 0;
            this.rdioControl10.TabStop = true;
            this.rdioControl10.Text = "Phần đầu";
            this.rdioControl10.UseVisualStyleBackColor = true;
            // 
            // gBoxSP_Ctrl
            // 
            this.gBoxSP_Ctrl.Controls.Add(this.rdioControl17);
            this.gBoxSP_Ctrl.Controls.Add(this.rdioControl18);
            this.gBoxSP_Ctrl.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxSP_Ctrl.Location = new System.Drawing.Point(12, 382);
            this.gBoxSP_Ctrl.Name = "gBoxSP_Ctrl";
            this.gBoxSP_Ctrl.OptionBox = true;
            this.gBoxSP_Ctrl.Size = new System.Drawing.Size(191, 67);
            this.gBoxSP_Ctrl.TabIndex = 7;
            this.gBoxSP_Ctrl.TabStop = false;
            this.gBoxSP_Ctrl.Text = "Sản phẩm";
            // 
            // rdioControl17
            // 
            this.rdioControl17.AutoSize = true;
            this.rdioControl17.Checked = true;
            this.rdioControl17.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl17.Location = new System.Drawing.Point(23, 19);
            this.rdioControl17.Name = "rdioControl17";
            this.rdioControl17.Size = new System.Drawing.Size(56, 18);
            this.rdioControl17.TabIndex = 0;
            this.rdioControl17.TabStop = true;
            this.rdioControl17.Text = "Không";
            this.rdioControl17.UseVisualStyleBackColor = true;
            // 
            // rdioControl18
            // 
            this.rdioControl18.AutoSize = true;
            this.rdioControl18.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl18.Location = new System.Drawing.Point(23, 43);
            this.rdioControl18.Name = "rdioControl18";
            this.rdioControl18.Size = new System.Drawing.Size(38, 18);
            this.rdioControl18.TabIndex = 1;
            this.rdioControl18.Text = "Có";
            this.rdioControl18.UseVisualStyleBackColor = true;
            // 
            // gBoxHD_Ctrl
            // 
            this.gBoxHD_Ctrl.Controls.Add(this.rdioControl9);
            this.gBoxHD_Ctrl.Controls.Add(this.rdioControl11);
            this.gBoxHD_Ctrl.Controls.Add(this.rdioControl12);
            this.gBoxHD_Ctrl.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxHD_Ctrl.Location = new System.Drawing.Point(12, 281);
            this.gBoxHD_Ctrl.Name = "gBoxHD_Ctrl";
            this.gBoxHD_Ctrl.OptionBox = true;
            this.gBoxHD_Ctrl.Size = new System.Drawing.Size(191, 95);
            this.gBoxHD_Ctrl.TabIndex = 4;
            this.gBoxHD_Ctrl.TabStop = false;
            this.gBoxHD_Ctrl.Text = "Hợp đồng";
            // 
            // rdioControl9
            // 
            this.rdioControl9.AutoSize = true;
            this.rdioControl9.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl9.Location = new System.Drawing.Point(26, 67);
            this.rdioControl9.Name = "rdioControl9";
            this.rdioControl9.Size = new System.Drawing.Size(57, 18);
            this.rdioControl9.TabIndex = 2;
            this.rdioControl9.Text = "Chi tiết";
            this.rdioControl9.UseVisualStyleBackColor = true;
            // 
            // rdioControl11
            // 
            this.rdioControl11.AutoSize = true;
            this.rdioControl11.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl11.Location = new System.Drawing.Point(26, 43);
            this.rdioControl11.Name = "rdioControl11";
            this.rdioControl11.Size = new System.Drawing.Size(70, 18);
            this.rdioControl11.TabIndex = 1;
            this.rdioControl11.Text = "Chứng từ";
            this.rdioControl11.UseVisualStyleBackColor = true;
            // 
            // rdioControl12
            // 
            this.rdioControl12.AutoSize = true;
            this.rdioControl12.Checked = true;
            this.rdioControl12.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl12.Location = new System.Drawing.Point(26, 19);
            this.rdioControl12.Name = "rdioControl12";
            this.rdioControl12.Size = new System.Drawing.Size(56, 18);
            this.rdioControl12.TabIndex = 0;
            this.rdioControl12.TabStop = true;
            this.rdioControl12.Text = "Không";
            this.rdioControl12.UseVisualStyleBackColor = true;
            // 
            // gBoxBP_Ctrl
            // 
            this.gBoxBP_Ctrl.Controls.Add(this.rdioControl7);
            this.gBoxBP_Ctrl.Controls.Add(this.rdioControl8);
            this.gBoxBP_Ctrl.Controls.Add(this.rdioControl13);
            this.gBoxBP_Ctrl.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxBP_Ctrl.Location = new System.Drawing.Point(210, 281);
            this.gBoxBP_Ctrl.Name = "gBoxBP_Ctrl";
            this.gBoxBP_Ctrl.OptionBox = true;
            this.gBoxBP_Ctrl.Size = new System.Drawing.Size(190, 95);
            this.gBoxBP_Ctrl.TabIndex = 5;
            this.gBoxBP_Ctrl.TabStop = false;
            this.gBoxBP_Ctrl.Text = "Bộ phận";
            // 
            // rdioControl7
            // 
            this.rdioControl7.AutoSize = true;
            this.rdioControl7.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl7.Location = new System.Drawing.Point(26, 67);
            this.rdioControl7.Name = "rdioControl7";
            this.rdioControl7.Size = new System.Drawing.Size(57, 18);
            this.rdioControl7.TabIndex = 2;
            this.rdioControl7.Text = "Chi tiết";
            this.rdioControl7.UseVisualStyleBackColor = true;
            // 
            // rdioControl8
            // 
            this.rdioControl8.AutoSize = true;
            this.rdioControl8.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl8.Location = new System.Drawing.Point(26, 43);
            this.rdioControl8.Name = "rdioControl8";
            this.rdioControl8.Size = new System.Drawing.Size(70, 18);
            this.rdioControl8.TabIndex = 1;
            this.rdioControl8.Text = "Chứng từ";
            this.rdioControl8.UseVisualStyleBackColor = true;
            // 
            // rdioControl13
            // 
            this.rdioControl13.AutoSize = true;
            this.rdioControl13.Checked = true;
            this.rdioControl13.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl13.Location = new System.Drawing.Point(26, 19);
            this.rdioControl13.Name = "rdioControl13";
            this.rdioControl13.Size = new System.Drawing.Size(56, 18);
            this.rdioControl13.TabIndex = 0;
            this.rdioControl13.TabStop = true;
            this.rdioControl13.Text = "Không";
            this.rdioControl13.UseVisualStyleBackColor = true;
            // 
            // gBoxKM_Ctrl
            // 
            this.gBoxKM_Ctrl.Controls.Add(this.rdioControl15);
            this.gBoxKM_Ctrl.Controls.Add(this.rdioControl16);
            this.gBoxKM_Ctrl.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxKM_Ctrl.Location = new System.Drawing.Point(407, 281);
            this.gBoxKM_Ctrl.Name = "gBoxKM_Ctrl";
            this.gBoxKM_Ctrl.OptionBox = true;
            this.gBoxKM_Ctrl.Size = new System.Drawing.Size(191, 95);
            this.gBoxKM_Ctrl.TabIndex = 6;
            this.gBoxKM_Ctrl.TabStop = false;
            this.gBoxKM_Ctrl.Text = "Khoản mục";
            // 
            // rdioControl15
            // 
            this.rdioControl15.AutoSize = true;
            this.rdioControl15.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl15.Location = new System.Drawing.Point(26, 43);
            this.rdioControl15.Name = "rdioControl15";
            this.rdioControl15.Size = new System.Drawing.Size(38, 18);
            this.rdioControl15.TabIndex = 1;
            this.rdioControl15.Text = "Có";
            this.rdioControl15.UseVisualStyleBackColor = true;
            // 
            // rdioControl16
            // 
            this.rdioControl16.AutoSize = true;
            this.rdioControl16.Checked = true;
            this.rdioControl16.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl16.Location = new System.Drawing.Point(26, 19);
            this.rdioControl16.Name = "rdioControl16";
            this.rdioControl16.Size = new System.Drawing.Size(56, 18);
            this.rdioControl16.TabIndex = 0;
            this.rdioControl16.TabStop = true;
            this.rdioControl16.Text = "Không";
            this.rdioControl16.UseVisualStyleBackColor = true;
            // 
            // gBoxTT_Ctrl
            // 
            this.gBoxTT_Ctrl.Controls.Add(this.rdioControl19);
            this.gBoxTT_Ctrl.Controls.Add(this.rdioControl20);
            this.gBoxTT_Ctrl.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxTT_Ctrl.Location = new System.Drawing.Point(210, 382);
            this.gBoxTT_Ctrl.Name = "gBoxTT_Ctrl";
            this.gBoxTT_Ctrl.OptionBox = true;
            this.gBoxTT_Ctrl.Size = new System.Drawing.Size(190, 67);
            this.gBoxTT_Ctrl.TabIndex = 8;
            this.gBoxTT_Ctrl.TabStop = false;
            this.gBoxTT_Ctrl.Text = "Hạn thanh toán";
            // 
            // rdioControl19
            // 
            this.rdioControl19.AutoSize = true;
            this.rdioControl19.Checked = true;
            this.rdioControl19.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl19.Location = new System.Drawing.Point(23, 19);
            this.rdioControl19.Name = "rdioControl19";
            this.rdioControl19.Size = new System.Drawing.Size(56, 18);
            this.rdioControl19.TabIndex = 0;
            this.rdioControl19.TabStop = true;
            this.rdioControl19.Text = "Không";
            this.rdioControl19.UseVisualStyleBackColor = true;
            // 
            // rdioControl20
            // 
            this.rdioControl20.AutoSize = true;
            this.rdioControl20.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl20.Location = new System.Drawing.Point(23, 43);
            this.rdioControl20.Name = "rdioControl20";
            this.rdioControl20.Size = new System.Drawing.Size(38, 18);
            this.rdioControl20.TabIndex = 1;
            this.rdioControl20.Text = "Có";
            this.rdioControl20.UseVisualStyleBackColor = true;
            // 
            // gBoxTte_Ctrl
            // 
            this.gBoxTte_Ctrl.Controls.Add(this.rdioControl21);
            this.gBoxTte_Ctrl.Controls.Add(this.rdioControl22);
            this.gBoxTte_Ctrl.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxTte_Ctrl.Location = new System.Drawing.Point(407, 382);
            this.gBoxTte_Ctrl.Name = "gBoxTte_Ctrl";
            this.gBoxTte_Ctrl.OptionBox = true;
            this.gBoxTte_Ctrl.Size = new System.Drawing.Size(191, 67);
            this.gBoxTte_Ctrl.TabIndex = 9;
            this.gBoxTte_Ctrl.TabStop = false;
            this.gBoxTte_Ctrl.Text = "Theo dõi nhiều loại tiền";
            // 
            // rdioControl21
            // 
            this.rdioControl21.AutoSize = true;
            this.rdioControl21.Checked = true;
            this.rdioControl21.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl21.Location = new System.Drawing.Point(23, 19);
            this.rdioControl21.Name = "rdioControl21";
            this.rdioControl21.Size = new System.Drawing.Size(56, 18);
            this.rdioControl21.TabIndex = 0;
            this.rdioControl21.TabStop = true;
            this.rdioControl21.Text = "Không";
            this.rdioControl21.UseVisualStyleBackColor = true;
            // 
            // rdioControl22
            // 
            this.rdioControl22.AutoSize = true;
            this.rdioControl22.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl22.Location = new System.Drawing.Point(23, 43);
            this.rdioControl22.Name = "rdioControl22";
            this.rdioControl22.Size = new System.Drawing.Size(38, 18);
            this.rdioControl22.TabIndex = 1;
            this.rdioControl22.Text = "Có";
            this.rdioControl22.UseVisualStyleBackColor = true;
            // 
            // gBoxIn_Ct
            // 
            this.gBoxIn_Ct.Controls.Add(this.txtFreeFields);
            this.gBoxIn_Ct.Controls.Add(this.txtSeries);
            this.gBoxIn_Ct.Controls.Add(this.txtRepoFile);
            this.gBoxIn_Ct.Controls.Add(this.lblSeries);
            this.gBoxIn_Ct.Controls.Add(this.lblFreeFields);
            this.gBoxIn_Ct.Controls.Add(this.lblRepoFile);
            this.gBoxIn_Ct.Controls.Add(this.txtTitle_E);
            this.gBoxIn_Ct.Controls.Add(this.lblTitle_E);
            this.gBoxIn_Ct.Controls.Add(this.txtTitle);
            this.gBoxIn_Ct.Controls.Add(this.lblTitle);
            this.gBoxIn_Ct.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxIn_Ct.Location = new System.Drawing.Point(12, 107);
            this.gBoxIn_Ct.Name = "gBoxIn_Ct";
            this.gBoxIn_Ct.Size = new System.Drawing.Size(586, 95);
            this.gBoxIn_Ct.TabIndex = 1;
            this.gBoxIn_Ct.TabStop = false;
            this.gBoxIn_Ct.Text = "In chứng từ";
            // 
            // txtFreeFields
            // 
            this.txtFreeFields.AllowNegative = false;
            this.txtFreeFields.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtFreeFields.Location = new System.Drawing.Point(533, 64);
            this.txtFreeFields.Name = "txtFreeFields";
            this.txtFreeFields.NumericScaleOnFocus = 0;
            this.txtFreeFields.NumericScaleOnLostFocus = 0;
            this.txtFreeFields.NumericValue = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.txtFreeFields.OldValue = null;
            this.txtFreeFields.Size = new System.Drawing.Size(47, 20);
            this.txtFreeFields.TabIndex = 4;
            this.txtFreeFields.Text = "0";
            this.txtFreeFields.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
            this.txtFreeFields.UserTextNumericFormat = QMVnSoft.AppInstance.TextNumericFormat.None;
            this.txtFreeFields.Value = ((object)(resources.GetObject("txtFreeFields.Value")));
            this.txtFreeFields.ZeroIsShown = true;
            // 
            // txtSeries
            // 
            this.txtSeries.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.txtSeries.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtSeries.CheckTextSearched = false;
            this.txtSeries.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtSeries.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtSeries.Location = new System.Drawing.Point(285, 64);
            this.txtSeries.MaxLength = 32;
            this.txtSeries.Name = "txtSeries";
            this.txtSeries.OldValue = null;
            this.txtSeries.Size = new System.Drawing.Size(89, 20);
            this.txtSeries.TabIndex = 3;
            this.txtSeries.UserTextLength = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtSeries.UserTrimMode = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtSeries.Value = ((object)(resources.GetObject("txtSeries.Value")));
            // 
            // txtRepoFile
            // 
            this.txtRepoFile.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.txtRepoFile.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtRepoFile.CheckTextSearched = false;
            this.txtRepoFile.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtRepoFile.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtRepoFile.Location = new System.Drawing.Point(102, 64);
            this.txtRepoFile.MaxLength = 32;
            this.txtRepoFile.Name = "txtRepoFile";
            this.txtRepoFile.OldValue = null;
            this.txtRepoFile.Size = new System.Drawing.Size(90, 20);
            this.txtRepoFile.TabIndex = 2;
            this.txtRepoFile.UserTextLength = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtRepoFile.UserTrimMode = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtRepoFile.Value = ((object)(resources.GetObject("txtRepoFile.Value")));
            // 
            // lblSeries
            // 
            this.lblSeries.AutoSize = true;
            this.lblSeries.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblSeries.Location = new System.Drawing.Point(236, 67);
            this.lblSeries.Name = "lblSeries";
            this.lblSeries.Size = new System.Drawing.Size(43, 14);
            this.lblSeries.TabIndex = 0;
            this.lblSeries.Text = "Số hiệu";
            // 
            // lblFreeFields
            // 
            this.lblFreeFields.AutoSize = true;
            this.lblFreeFields.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblFreeFields.Location = new System.Drawing.Point(425, 67);
            this.lblFreeFields.Name = "lblFreeFields";
            this.lblFreeFields.Size = new System.Drawing.Size(102, 14);
            this.lblFreeFields.TabIndex = 0;
            this.lblFreeFields.Text = "Số trường phân loại";
            // 
            // lblRepoFile
            // 
            this.lblRepoFile.AutoSize = true;
            this.lblRepoFile.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblRepoFile.Location = new System.Drawing.Point(6, 67);
            this.lblRepoFile.Name = "lblRepoFile";
            this.lblRepoFile.Size = new System.Drawing.Size(85, 14);
            this.lblRepoFile.TabIndex = 0;
            this.lblRepoFile.Text = "Mẫu chứng từ in";
            // 
            // txtTitle_E
            // 
            this.txtTitle_E.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.txtTitle_E.CheckTextSearched = false;
            this.txtTitle_E.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTitle_E.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTitle_E.Location = new System.Drawing.Point(102, 42);
            this.txtTitle_E.MaxLength = 128;
            this.txtTitle_E.Name = "txtTitle_E";
            this.txtTitle_E.OldValue = null;
            this.txtTitle_E.Size = new System.Drawing.Size(478, 20);
            this.txtTitle_E.TabIndex = 1;
            this.txtTitle_E.UserTextLength = QMVnSoft.AppInstance.TextControlLength.ItemDescription;
            this.txtTitle_E.UserTrimMode = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTitle_E.Value = ((object)(resources.GetObject("txtTitle_E.Value")));
            // 
            // lblTitle_E
            // 
            this.lblTitle_E.AutoSize = true;
            this.lblTitle_E.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTitle_E.Location = new System.Drawing.Point(6, 45);
            this.lblTitle_E.Name = "lblTitle_E";
            this.lblTitle_E.Size = new System.Drawing.Size(90, 14);
            this.lblTitle_E.TabIndex = 0;
            this.lblTitle_E.Text = "Tiêu đề tiếng Anh";
            // 
            // txtTitle
            // 
            this.txtTitle.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.txtTitle.CheckTextSearched = false;
            this.txtTitle.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTitle.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTitle.Location = new System.Drawing.Point(102, 20);
            this.txtTitle.MaxLength = 128;
            this.txtTitle.Name = "txtTitle";
            this.txtTitle.OldValue = null;
            this.txtTitle.Size = new System.Drawing.Size(478, 20);
            this.txtTitle.TabIndex = 0;
            this.txtTitle.UserTextLength = QMVnSoft.AppInstance.TextControlLength.ItemDescription;
            this.txtTitle.UserTrimMode = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTitle.Value = ((object)(resources.GetObject("txtTitle.Value")));
            // 
            // lblTitle
            // 
            this.lblTitle.AutoSize = true;
            this.lblTitle.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTitle.Location = new System.Drawing.Point(6, 23);
            this.lblTitle.Name = "lblTitle";
            this.lblTitle.Size = new System.Drawing.Size(90, 14);
            this.lblTitle.TabIndex = 0;
            this.lblTitle.Text = "Tiêu đề tiếng Việt";
            // 
            // gBoxNo_Co
            // 
            this.gBoxNo_Co.Controls.Add(this.txtTen_Tk);
            this.gBoxNo_Co.Controls.Add(this.txtTk);
            this.gBoxNo_Co.Controls.Add(this.lblNo_Co);
            this.gBoxNo_Co.Controls.Add(this.lblTk);
            this.gBoxNo_Co.Controls.Add(this.rdioControl14);
            this.gBoxNo_Co.Controls.Add(this.rdioControl23);
            this.gBoxNo_Co.Font = new System.Drawing.Font("Arial", 8.25F);
            this.gBoxNo_Co.Location = new System.Drawing.Point(12, 455);
            this.gBoxNo_Co.Name = "gBoxNo_Co";
            this.gBoxNo_Co.OptionBox = true;
            this.gBoxNo_Co.Size = new System.Drawing.Size(586, 70);
            this.gBoxNo_Co.TabIndex = 10;
            this.gBoxNo_Co.TabStop = false;
            this.gBoxNo_Co.Text = "Tài khoản ngầm định";
            // 
            // txtTen_Tk
            // 
            this.txtTen_Tk.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(194)))), ((int)(((byte)(217)))), ((int)(((byte)(247)))));
            this.txtTen_Tk.BorderStyle = System.Windows.Forms.BorderStyle.None;
            this.txtTen_Tk.CheckTextSearched = false;
            this.txtTen_Tk.DisabledForeColor = System.Drawing.Color.Blue;
            this.txtTen_Tk.Enabled = false;
            this.txtTen_Tk.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTen_Tk.ForeColor = System.Drawing.Color.Blue;
            this.txtTen_Tk.Location = new System.Drawing.Point(205, 44);
            this.txtTen_Tk.Name = "txtTen_Tk";
            this.txtTen_Tk.OldValue = null;
            this.txtTen_Tk.Size = new System.Drawing.Size(367, 13);
            this.txtTen_Tk.TabIndex = 16;
            this.txtTen_Tk.UserTextLength = QMVnSoft.AppInstance.TextControlLength.None;
            this.txtTen_Tk.UserTrimMode = QMVnSoft.AppInstance.TextControlTrimMode.Right;
            this.txtTen_Tk.Value = ((object)(resources.GetObject("txtTen_Tk.Value")));
            // 
            // txtTk
            // 
            this.txtTk.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.txtTk.CheckTextSearched = false;
            this.txtTk.DisabledForeColor = System.Drawing.Color.Empty;
            this.txtTk.EmptyIsValid = true;
            this.txtTk.FieldDisplay = "Ten_Tk";
            this.txtTk.FirstFilter = "Loai_Tk = \'C\'";
            this.txtTk.Font = new System.Drawing.Font("Arial", 8.25F);
            this.txtTk.FoundIsValid = true;
            this.txtTk.Location = new System.Drawing.Point(102, 41);
            this.txtTk.MaxLength = 32;
            this.txtTk.Name = "txtTk";
            this.txtTk.OldValue = null;
            this.txtTk.Size = new System.Drawing.Size(97, 20);
            this.txtTk.TabIndex = 2;
            this.txtTk.TableName = "DMTK";
            this.txtTk.TextDisplay = this.txtTen_Tk;
            this.txtTk.UserTextLength = QMVnSoft.AppInstance.TextControlLength.ItemCode;
            this.txtTk.UserTrimMode = QMVnSoft.AppInstance.TextControlTrimMode.All;
            this.txtTk.Value = ((object)(resources.GetObject("txtTk.Value")));
            // 
            // lblNo_Co
            // 
            this.lblNo_Co.AutoSize = true;
            this.lblNo_Co.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblNo_Co.Location = new System.Drawing.Point(6, 21);
            this.lblNo_Co.Name = "lblNo_Co";
            this.lblNo_Co.Size = new System.Drawing.Size(51, 14);
            this.lblNo_Co.TabIndex = 14;
            this.lblNo_Co.Text = "Phát sinh";
            // 
            // lblTk
            // 
            this.lblTk.AutoSize = true;
            this.lblTk.Font = new System.Drawing.Font("Arial", 8.25F);
            this.lblTk.Location = new System.Drawing.Point(6, 44);
            this.lblTk.Name = "lblTk";
            this.lblTk.Size = new System.Drawing.Size(53, 14);
            this.lblTk.TabIndex = 14;
            this.lblTk.Text = "Tài khoản";
            // 
            // rdioControl14
            // 
            this.rdioControl14.AutoSize = true;
            this.rdioControl14.Checked = true;
            this.rdioControl14.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl14.Location = new System.Drawing.Point(102, 19);
            this.rdioControl14.Name = "rdioControl14";
            this.rdioControl14.Size = new System.Drawing.Size(39, 18);
            this.rdioControl14.TabIndex = 0;
            this.rdioControl14.TabStop = true;
            this.rdioControl14.Text = "Nợ";
            this.rdioControl14.UseVisualStyleBackColor = true;
            // 
            // rdioControl23
            // 
            this.rdioControl23.AutoSize = true;
            this.rdioControl23.Font = new System.Drawing.Font("Arial", 8.25F);
            this.rdioControl23.Location = new System.Drawing.Point(185, 19);
            this.rdioControl23.Name = "rdioControl23";
            this.rdioControl23.Size = new System.Drawing.Size(38, 18);
            this.rdioControl23.TabIndex = 1;
            this.rdioControl23.Text = "Có";
            this.rdioControl23.UseVisualStyleBackColor = true;
            // 
            // FormDmCtEditor1
            // 
            this.AddTitleText = "Khai báo tham số chứng từ";
            this.ClientSize = new System.Drawing.Size(610, 536);
            this.Controls.Add(this.gBoxHD_Ctrl);
            this.Controls.Add(this.gBoxSo_Ct_Type);
            this.Controls.Add(this.gBoxNumbering);
            this.Controls.Add(this.gBoxTen_Ct);
            this.Controls.Add(this.gBoxSP_Ctrl);
            this.Controls.Add(this.gBoxBP_Ctrl);
            this.Controls.Add(this.gBoxKM_Ctrl);
            this.Controls.Add(this.gBoxNo_Co);
            this.Controls.Add(this.gBoxIn_Ct);
            this.Controls.Add(this.gBoxTte_Ctrl);
            this.Controls.Add(this.gBoxTT_Ctrl);
            this.EditTitleText = "Khai báo tham số chứng từ";
            this.FirstFreeCode = "TK1";
            this.Name = "FormDmCtEditor1";
            this.SecondFreeCode = "TK2";
            this.ShowAddButton = false;
            this.ShowFreeFields = false;
            this.Text = "Khai báo tham số chứng từ";
            this.ThirdFreeCode = "TK3";
            this.Controls.SetChildIndex(this.gBoxTT_Ctrl, 0);
            this.Controls.SetChildIndex(this.gBoxTte_Ctrl, 0);
            this.Controls.SetChildIndex(this.gBoxIn_Ct, 0);
            this.Controls.SetChildIndex(this.gBoxNo_Co, 0);
            this.Controls.SetChildIndex(this.gBoxKM_Ctrl, 0);
            this.Controls.SetChildIndex(this.gBoxBP_Ctrl, 0);
            this.Controls.SetChildIndex(this.gBoxSP_Ctrl, 0);
            this.Controls.SetChildIndex(this.gBoxTen_Ct, 0);
            this.Controls.SetChildIndex(this.gBoxNumbering, 0);
            this.Controls.SetChildIndex(this.gBoxSo_Ct_Type, 0);
            this.Controls.SetChildIndex(this.gBoxHD_Ctrl, 0);
            this.Controls.SetChildIndex(this.lblPhan_Loai, 0);
            this.Controls.SetChildIndex(this.txtMa_Loai1, 0);
            this.Controls.SetChildIndex(this.txtMa_Loai2, 0);
            this.Controls.SetChildIndex(this.txtMa_Loai3, 0);
            this.gBoxTen_Ct.ResumeLayout(false);
            this.gBoxTen_Ct.PerformLayout();
            this.gBoxSo_Ct_Type.ResumeLayout(false);
            this.gBoxSo_Ct_Type.PerformLayout();
            this.gBoxNumbering.ResumeLayout(false);
            this.gBoxNumbering.PerformLayout();
            this.gBoxSP_Ctrl.ResumeLayout(false);
            this.gBoxSP_Ctrl.PerformLayout();
            this.gBoxHD_Ctrl.ResumeLayout(false);
            this.gBoxHD_Ctrl.PerformLayout();
            this.gBoxBP_Ctrl.ResumeLayout(false);
            this.gBoxBP_Ctrl.PerformLayout();
            this.gBoxKM_Ctrl.ResumeLayout(false);
            this.gBoxKM_Ctrl.PerformLayout();
            this.gBoxTT_Ctrl.ResumeLayout(false);
            this.gBoxTT_Ctrl.PerformLayout();
            this.gBoxTte_Ctrl.ResumeLayout(false);
            this.gBoxTte_Ctrl.PerformLayout();
            this.gBoxIn_Ct.ResumeLayout(false);
            this.gBoxIn_Ct.PerformLayout();
            this.gBoxNo_Co.ResumeLayout(false);
            this.gBoxNo_Co.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        public override bool OnSave()
        {
            if (string.IsNullOrEmpty(this.txtTen_Ct.Text))
            {
                MessageBox.Show("Chưa nhập tên chứng từ!", AppInstance.SoftwareName, MessageBoxButtons.OK, MessageBoxIcon.Hand);
                return false;
            }
            if (string.IsNullOrEmpty(this.txtTen_Ct_E.Text))
            {
                MessageBox.Show("Chưa nhập tên tiếng Anh!", AppInstance.SoftwareName, MessageBoxButtons.OK, MessageBoxIcon.Hand);
                return false;
            }
            if (string.IsNullOrEmpty(this.txtRepoFile.Text))
            {
                MessageBox.Show("Chưa nhập mẫu in chứng từ!", AppInstance.SoftwareName, MessageBoxButtons.OK, MessageBoxIcon.Hand);
                return false;
            }
            base.LocalCurrentRow["Ten_Ct"] = this.txtTen_Ct.Value;
            base.LocalCurrentRow["Ten_Ct_E"] = this.txtTen_Ct_E.Value;
            base.LocalCurrentRow["Title"] = this.txtTitle.Value;
            base.LocalCurrentRow["Title_E"] = this.txtTitle_E.Value;
            base.LocalCurrentRow["RepoFile"] = this.txtRepoFile.Value;
            base.LocalCurrentRow["Series"] = this.txtSeries.Value;
            base.LocalCurrentRow["FreeFields"] = this.txtFreeFields.Value;
            base.LocalCurrentRow["Tk"] = this.txtTk.Value;
            base.LocalCurrentRow["Ten_Tk"] = this.txtTen_Tk.Value;
            base.LocalCurrentRow["So_Ct_Type"] = this.gBoxSo_Ct_Type.Value;
            base.LocalCurrentRow["Numbering"] = this.gBoxNumbering.Value;
            base.LocalCurrentRow["HD_Ctrl"] = this.gBoxHD_Ctrl.Value;
            base.LocalCurrentRow["BP_Ctrl"] = this.gBoxBP_Ctrl.Value;
            base.LocalCurrentRow["KM_Ctrl"] = this.gBoxKM_Ctrl.Value;
            base.LocalCurrentRow["SP_Ctrl"] = this.gBoxSP_Ctrl.Value;
            base.LocalCurrentRow["TT_Ctrl"] = this.gBoxTT_Ctrl.Value;
            base.LocalCurrentRow["Tte_Ctrl"] = this.gBoxTte_Ctrl.Value;
            base.LocalCurrentRow["No_Co"] = this.gBoxNo_Co.Value;
            DmCtDataAccess access = new DmCtDataAccess();
            if (base.ShowMessage(base.LocalCurrentRow, access.SaveRow(base.NewChecked, base.LocalCurrentRow)))
            {
                return false;
            }
            base.LocalTable.AcceptChanges();
            return base.OnSave();
        }

        public override void OnShow()
        {
            this.txtTen_Ct.Value = base.LocalCurrentRow["Ten_Ct"];
            this.txtTen_Ct_E.Value = base.LocalCurrentRow["Ten_Ct_E"];
            this.txtTitle.Value = base.LocalCurrentRow["Title"];
            this.txtTitle_E.Value = base.LocalCurrentRow["Title_E"];
            this.txtRepoFile.Value = base.LocalCurrentRow["RepoFile"];
            this.txtSeries.Value = base.LocalCurrentRow["Series"];
            this.txtFreeFields.Value = base.LocalCurrentRow["FreeFields"];
            this.txtTk.Value = base.LocalCurrentRow["Tk"];
            this.txtTen_Tk.Value = base.LocalCurrentRow["Ten_Tk"];
            this.gBoxSo_Ct_Type.Value = Convert.ToInt16(base.LocalCurrentRow["So_Ct_Type"].ToString());
            this.gBoxNumbering.Value = Convert.ToInt16(base.LocalCurrentRow["Numbering"].ToString());
            this.gBoxHD_Ctrl.Value = Convert.ToInt16(base.LocalCurrentRow["HD_Ctrl"].ToString());
            this.gBoxBP_Ctrl.Value = Convert.ToInt16(base.LocalCurrentRow["BP_Ctrl"].ToString());
            this.gBoxKM_Ctrl.Value = Convert.ToInt16(base.LocalCurrentRow["KM_Ctrl"].ToString());
            this.gBoxSP_Ctrl.Value = Convert.ToInt16(base.LocalCurrentRow["SP_Ctrl"].ToString());
            this.gBoxTT_Ctrl.Value = Convert.ToInt16(base.LocalCurrentRow["TT_Ctrl"].ToString());
            this.gBoxTte_Ctrl.Value = Convert.ToInt16(base.LocalCurrentRow["Tte_Ctrl"].ToString());
            this.gBoxNo_Co.Value = Convert.ToInt16(base.LocalCurrentRow["No_Co"].ToString());
            base.OnShow();
        }
    }
}

